package com.menghao.sso.server.repository.customer;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * <p>自定义Jpa仓库.<br>
 *
 * @author menghao.
 * @version 2017/11/6.
 */
@NoRepositoryBean
public interface CustomerRepository<T, ID extends Serializable> extends JpaRepository<T, ID> {
    T queryByProperty(T entity);
}
